<template>
    <div class="app">
        <router-view></router-view>
        <router-view name="footer"></router-view>
    </div>
</template>
<script>
import { mapActions } from 'vuex'
export default {
  // ..
  methods: {
    ...mapActions('user', ['initUserIdAndToken'])
  },
  created () {
    this.initUserIdAndToken()
  }
}
</script>
<style lang="scss" scoped>
  // ..
</style>
